package com.superzqb.asus.Api;

import com.superzqb.asus.superzqbFragment.superzqbJobShop.Shop.Bean.CommentBean;
import com.superzqb.asus.superzqbFragment.superzqbShopMain.Bean.GoodsDetailBean;
import com.superzqb.asus.superzqbFragment.superzqbShopMain.Bean.GoodsTypeBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by asus on 2017/3/9.
 */

public interface ShopApi {
    @GET(ApiParam.goodsList)
      Call<List<GoodsDetailBean>> getGoodsList(
            @Query("page") int page,
            @Query("typeid") int typeid
    );
    @GET(ApiParam.typeList)
    Call<List<GoodsTypeBean>> getTypeList(
            @Query("page") int page,
            @Query("aid") int aid
    );
    @GET(ApiParam.getGoodsCommentList)
    Call<List<CommentBean>> getCommentList(
            @Query("page") int page
    );
}
